<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ice="http://www.icesoft.com/icefaces/component">
    <h:head>
        <title>Facelet Title</title>
    </h:head>
    <h:body>
        <ice:form>
            <ice:outputLabel value="Numero: "/><ice:inputText value="#{managedBeanDep.dep.numero}"/><br/>
            <ice:outputLabel value="Nombre: "/><ice:inputText required="true" value="#{managedBeanDep.dep.nombre}"/><br/>
            <ice:commandButton value="Guardar" action="#{managedBeanDep.saveDepartamento}"/><br/>
            <ice:commandLink value="Regresar a Menu" action="welcomeICEfaces"/>
        </ice:form>
    </h:body>
</html>

